package org.ubc.cs410.disposal2020.client.dto;

import java.io.Serializable;

import com.google.gwt.maps.client.geom.LatLng;

/*
 * client data object, equivalence of Garbage.Class
 * To be stored on client side
 */

public class GarbageDto implements Serializable {

	private double latitude;
	private double longitude;
	private int amount;
	private int maxAmount;

	public GarbageDto() {

	}

	public double getLatitude() {
		return latitude;
	}

	public double getLongitude() {
		return longitude;
	}

	public void setLatitude(double latitude) {
		this.latitude = latitude;
		return;
	}

	public void setLongitude(double longitude) {
		this.longitude = longitude;
		return;
	}

	public int getAmount() {
		return this.amount;
	}

	public LatLng getLocation() {
		return LatLng.newInstance(this.latitude, this.longitude);
	}

	public void setAmount(int amount) {
		this.amount = amount;
		return;
	}

	public void setMaxAmount(int maxAmount) {
		this.maxAmount = maxAmount;
	}

	public int getMaxAmount() {
		return this.maxAmount;
	}
}
